<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<style>
  [v-cloak]{display: none}
</style>

<div id="app">

  <h2 v-once v-cloak>{{message}}</h2>

  <h3 v-html="url"></h3>

  <h2 v-text="message" v-cloak></h2>

  <h2 v-pre v-cloak>{{message}}</h2>

  <img v-bind:src="imgrul">

  <a v-bind:href="baiduurl">百度一下</a>

  <a :href="baiduurl">百度一下</a>
<!--  语法糖：v-bind-》：-->

</div>

<script src="../js/vue.js"></script>


<script>

    const app = new Vue({
    el:"#app",
    data: {
      message:"stupid mother fucker",
      url:'<a href="www.baidu.com">百度一下</a>',
      imgrul:'https://i0.hdslb.com/bfs/sycp/creative_img/202009/0bb4016da68bc427b7085ac67435f924.jpg@880w_388h_1c_95q',
      baiduurl:'http://www.baidu.com',
    }
  })

</script>

</body>
</html>